package cn.com.bob.messageboard.service;

import cn.com.bob.messageboard.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;

/**
* @author 12948
* @description 针对表【user(用户表;)】的数据库操作Service
* @createDate 2023-07-11 16:34:28
*/
public interface UserService extends IService<User> {
    void register(User user);

    User login(String username,String password);

    void login(String username, HttpServletResponse response);

    void register(String username);
}
